/* Copyright 2007 Sun Microsystems, Inc. All rights reserved. You may not modify, use, reproduce, or distribute this software except in compliance with the terms of the License at: http://developer.sun.com/berkeley_license.html
$Id: Person.java,v 1.14 2007/04/03 15:21:06 basler Exp $ */

package clicktodial.model;

import javax.persistence.Id;
import javax.persistence.Entity;
import java.io.Serializable;

@Entity
public class Person implements Serializable {
    
    private String username;
    private String telephone;
   
    public Person() {}
    
    public Person(String username) {
        this.username = username;
    }
    
    @Id
    public String getUsername() {
        return username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }
    
    public String getTelephone(){
        return telephone;
    }
    
    public void setTelephone(String telephone){
        this.telephone=telephone;
    }
}
